import requests

cookies = {
    'Hm_lvt_aadbcc83cc37610f46f503983c444e90': '1711543857,1711892802,1711892926',
    'Hm_lvt_0b8b0a2a4a45cbaaa6f549dcad3329a6': '1711543857,1711892802,1711892926',
    'Hm_lpvt_0b8b0a2a4a45cbaaa6f549dcad3329a6': '1711892969',
    'Hm_lpvt_aadbcc83cc37610f46f503983c444e90': '1711892969',
}

headers = {
    'Accept': '*/*',
    'Accept-Language': 'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7,ja;q=0.6,ko;q=0.5',
    'Cache-Control': 'no-cache',
    'Connection': 'keep-alive',
    # 'Cookie': 'Hm_lvt_aadbcc83cc37610f46f503983c444e90=1711543857,1711892802,1711892926; Hm_lvt_0b8b0a2a4a45cbaaa6f549dcad3329a6=1711543857,1711892802,1711892926; Hm_lpvt_0b8b0a2a4a45cbaaa6f549dcad3329a6=1711892969; Hm_lpvt_aadbcc83cc37610f46f503983c444e90=1711892969',
    'Pragma': 'no-cache',
    'Referer': 'https://air.cnemc.cn:18007/',
    'Sec-Fetch-Dest': 'empty',
    'Sec-Fetch-Mode': 'cors',
    'Sec-Fetch-Site': 'same-origin',
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36',
    'X-Requested-With': 'XMLHttpRequest',
    'sec-ch-ua': '"Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"',
    'sec-ch-ua-mobile': '?0',
    'sec-ch-ua-platform': '"Windows"',
}

response = requests.get(
    'https://air.cnemc.cn:18007/CityData/GetProvince',
    cookies=cookies,
    headers=headers,
    verify=False
)

print(response.json())
